﻿using SqlSugar;

namespace B.S.Procurement.Domain.Sale
{
    /// <summary>
    /// 销售合同信息
    /// </summary>
    public class SaleModel
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        //主键
        public int SaleId { get; set; }
        //来源单据类型
        public string DocumentType { get; set; }
        //客户名称
        public string ClientNumber { get; set; }
        //签约日期
        public DateTime AgencyTime { get; set; }
        //合同主题
        public string ContractSubject { get; set; }
        //合同编号
        public string ContractNumber { get; set; }
        //起始日期
        public DateTime StartTime { get; set; }
        //截止日期
        public DateTime EndTime { get; set; }
        //我方代表
        public int UserId { get; set; }
        //对方代表
        public int ClientId { get; set; }
        //合同类别
        public string ContractCategory { get; set; }
        //销售人员
        public string Salespeople { get; set; }
        //制单人员
        public string DocumentMakers { get; set; }
        //制单日期
        public DateTime Time { get; set; }




        //合同总额
        public string ContractSum { get; set; }
        //优惠总额
        public string PreferentialSum { get; set; }
        //优惠后总额
        public string PreferentialAfterSum { get; set; }
        //运杂费
        public string After { get; set; }
        //收款计划
        public string miscellaneous { get; set; }
        //开票计划
        public string Billing { get; set; }
        //开票类型
        public string BillingType { get; set; }




        //收货人
        public string Consignee { get; set; }
        //固定电话
        public string Landline { get; set; }
        //手机号码
        public string MobilePhone { get; set; }
        //详细地址
        public string FullAddress { get; set; }
        //备注
        public string Remark { get; set; }
        //逻辑删
        public bool Del { get; set; }
    }
}
